<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<div>
	<B>User Maintain (Permission required)</B>&nbsp;&nbsp;&nbsp; <a
		href="systemIndex.action">Back to index</a> <BR> <BR>
	<button onclick="window.location.href='viewUser.action'" class="btn2w">添加</button>
	<BR> <BR>
	<table class="dataViewTb" border="1" style="width:95%">
		<tr>
			<th>ID</th>
			<th>User ID</th>
			<th>User Name</th>
			<th>Role Name</th>
			<th>Operation</th>
		</tr>
		<s:iterator value="users">
			<tr>
				<td><s:property value="id" /></td>
				<td><s:property value="userId" /></td>
				<td><s:property value="userName" /></td>
				<td><s:property value="role.name" /></td>
				<td><a href="removeUser.action?id=<s:property value="id" />">Delete</a>
				</td>
			</tr>
		</s:iterator>
	</table>
</div>